package com.yang.service;

import com.github.yulichang.base.MPJBaseService;
import com.yang.domain.User;
import com.yang.domain.dto.user.RegisterUser;
import com.yang.domain.dto.user.RemakePasswordUser;
import com.yang.utils.R;

/**
* @author 93879
* @description 针对表【user(用户表)】的数据库操作Service
* @createDate 2024-02-16 21:24:31
*/
public interface UserService extends MPJBaseService<User> {

    R login(String username, String password);

    R register(RegisterUser registerUser);

    R sendRegisterCaptcha(String email);

    R remakePassword(RemakePasswordUser remakePasswordUser);
}
